package guoanmaker.operator.business.repository;

import org.apache.poi.ss.formula.functions.T;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorLotteryUrl;

public interface OperatorLotteryUrlRepository extends JpaRepository<OperatorLotteryUrl, String>, JpaSpecificationExecutor<OperatorLotteryUrl> {

	@Query(value = "select url from OperatorLotteryUrl where type=:type")
	String findUrlByType(@Param("type")String type);
	
}
